Skip to content

chore: cre spell out ExecuteOperation type parameters#26

Merged
ajaskolski merged 1 commit into
mainfrom
chore-cre-workflow-deploy-explicit-generics
Apr 30, 2026
Merged

chore: cre spell out ExecuteOperation type parameters#26
ajaskolski merged 1 commit into
mainfrom
chore-cre-workflow-deploy-explicit-generics

Conversation

@ajaskolski

@ajaskolski ajaskolski commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

The chainlink-deployments-framework operations API defines ExecuteOperation as a generic over those three types. Inference already resolves them today. Making them explicit keeps the Report output typing obvious at the call site. No breaking change.

@ajaskolski ajaskolski changed the title chore(cre):spell out ExecuteOperation type parameters for workflow de… chore(cre):spell out ExecuteOperation type parameters Apr 30, 2026
@ajaskolski ajaskolski changed the title chore(cre):spell out ExecuteOperation type parameters chore: cre spell out ExecuteOperation type parameters Apr 30, 2026
@ajaskolski ajaskolski marked this pull request as ready for review April 30, 2026 11:56
@ajaskolski ajaskolski requested a review from a team as a code owner April 30, 2026 11:56
Copilot AI review requested due to automatic review settings April 30, 2026 11:56
@ajaskolski ajaskolski enabled auto-merge (squash) April 30, 2026 11:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the fwops.ExecuteOperation generic type parameters explicit at call sites to keep the resulting Report typing more obvious and less reliant on inference, without changing behavior.

Changes:

  • Update CRE workflow deploy operation execution in tests to use explicit ExecuteOperation[Input, Output, Deps] type parameters.
  • Update the CRE workflow deploy changeset to use explicit ExecuteOperation[Input, Output, Deps] type parameters.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
cre/operations/workflow_deploy_test.go Makes ExecuteOperation type parameters explicit in the workflow deploy operation test.
cre/changesets/workflow_deploy.go Makes ExecuteOperation type parameters explicit in the workflow deploy changeset application flow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cre/operations/workflow_deploy_test.go
@ajaskolski ajaskolski merged commit 5919919 into main Apr 30, 2026
17 of 20 checks passed
@ajaskolski ajaskolski deleted the chore-cre-workflow-deploy-explicit-generics branch April 30, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants